package com.netty.tcp.ew.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 指令集对象 base_instruction
 * 
 * @author Mr.wu
 * @date 2023-10-10
 */
public class BaseInstruction
{
    private static final long serialVersionUID = 1L;

    /** 指令ID */
    private Integer instructionId;

    /** 协议ID */

    private Integer instructionProtoclId;

    /** 指令名称 */

    private String instructionName;

    /** 指令内容 */

    private String instructionContent;

    /** 指令长度 */

    private Integer instructionLen;

    /** 变量数量 */

    private Integer instructionValueNum;

    /** 指令说明 */

    private String instructionRemark;

    /** 指令返回内容 */

    private String instructionReceiveContent;

    /** 指令返回长度 */

    private Integer instructionReceiveLen;

    /** 指令返回变量数量 */

    private Integer instructionReceiveValueNum;

    /** 指令返回说明 */

    private String instructionReceiveRemark;

    public void setInstructionId(Integer instructionId) 
    {
        this.instructionId = instructionId;
    }

    public Integer getInstructionId() 
    {
        return instructionId;
    }
    public void setInstructionProtoclId(Integer instructionProtoclId) 
    {
        this.instructionProtoclId = instructionProtoclId;
    }

    public Integer getInstructionProtoclId() 
    {
        return instructionProtoclId;
    }
    public void setInstructionName(String instructionName) 
    {
        this.instructionName = instructionName;
    }

    public String getInstructionName() 
    {
        return instructionName;
    }
    public void setInstructionContent(String instructionContent) 
    {
        this.instructionContent = instructionContent;
    }

    public String getInstructionContent() 
    {
        return instructionContent;
    }
    public void setInstructionLen(Integer instructionLen) 
    {
        this.instructionLen = instructionLen;
    }

    public Integer getInstructionLen() 
    {
        return instructionLen;
    }
    public void setInstructionValueNum(Integer instructionValueNum) 
    {
        this.instructionValueNum = instructionValueNum;
    }

    public Integer getInstructionValueNum() 
    {
        return instructionValueNum;
    }
    public void setInstructionRemark(String instructionRemark) 
    {
        this.instructionRemark = instructionRemark;
    }

    public String getInstructionRemark() 
    {
        return instructionRemark;
    }
    public void setInstructionReceiveContent(String instructionReceiveContent) 
    {
        this.instructionReceiveContent = instructionReceiveContent;
    }

    public String getInstructionReceiveContent() 
    {
        return instructionReceiveContent;
    }
    public void setInstructionReceiveLen(Integer instructionReceiveLen) 
    {
        this.instructionReceiveLen = instructionReceiveLen;
    }

    public Integer getInstructionReceiveLen() 
    {
        return instructionReceiveLen;
    }
    public void setInstructionReceiveValueNum(Integer instructionReceiveValueNum) 
    {
        this.instructionReceiveValueNum = instructionReceiveValueNum;
    }

    public Integer getInstructionReceiveValueNum() 
    {
        return instructionReceiveValueNum;
    }
    public void setInstructionReceiveRemark(String instructionReceiveRemark) 
    {
        this.instructionReceiveRemark = instructionReceiveRemark;
    }

    public String getInstructionReceiveRemark() 
    {
        return instructionReceiveRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("instructionId", getInstructionId())
            .append("instructionProtoclId", getInstructionProtoclId())
            .append("instructionName", getInstructionName())
            .append("instructionContent", getInstructionContent())
            .append("instructionLen", getInstructionLen())
            .append("instructionValueNum", getInstructionValueNum())
            .append("instructionRemark", getInstructionRemark())
            .append("instructionReceiveContent", getInstructionReceiveContent())
            .append("instructionReceiveLen", getInstructionReceiveLen())
            .append("instructionReceiveValueNum", getInstructionReceiveValueNum())
            .append("instructionReceiveRemark", getInstructionReceiveRemark())
            .toString();
    }
}
